#include <my_head.h>

int main(int argc, const char *argv[]){
    FILE *fp = NULL;
    if(NULL == (fp = fopen("nihao.c", "r")))
        ERR_LOG("fopen error");
    int count = 0;
    count = fgetc(fp); 
    printf("value = [%d][%c]\n", count, count);
    count = fgetc(fp); 
    printf("value = [%d][%c]\n", count, count);
    count = fgetc(stdin); 
    printf("value = [%d][%c]\n", count, count);
    fclose(fp);
    return 0;
}